<?php


/**
* 关注视图 
*/
class sixinView extends GetLoad
{
	
	public function jianliview($data){
		$this->load("Controller/user");
		$daohang =new ControllerName();
		$daohang->Getname(0);

?>


<div style="margin-left:auto; margin-right:auto;height:1000px;margin-top:30px;" class="container" >    
        
            <div class="container col-sm-8"  >

                <?php foreach ($data as $value) {?>

               <div style="height:auto; width:100%; background-color:#ccc; margin-top:10px"  class="media" >
                   
                            <a class="media-left" <?php echo "href='./index.php?route=Controller/sixin/ControllerSixin/sixinbianji&=".$value['name1_id']."'" ?> >
                                <img class="media-object img-circle" <?php echo "src='".$value['touxiang1']."'" ?>  alt="媒体对象" style="height:50px; width:50px; background-color: #CCC">
                            </a>
                             <a class="media-body" style="width:10%" ><?php echo $value['name1'] ?> --> <?php echo $value['name2'] ?> </a>
                            <a class="media-left" <?php echo "href='./index.php?route=Controller/sixin/ControllerSixin/sixinbianji&=".$value['name2_id']."'" ?> >
                                <img class="media-object img-circle" <?php echo "src='".$value['touxiang2']."'" ?> alt="媒体对象" style="height:50px; width:50px; background-color: #CCC">
                            </a>

                                <div class="media-body">
                                  
                                    <?php echo $value['neirong'] ?>


                                </div>

                </div>


                     <?php } ?>
            </div>
               

                

    
         </div>
           
         <div class="col-sm-4" style="margin-top:300px;">
            
                
            
         </div>
            
       </div>
    </div>

    
</body>
</html>



<?php 


	}
}

?>


